#include<stdio.h>

int swap(int *x,int *y)
{
	int temp;
	temp = *x;
	*x = *y;
	*y = temp;
}

int main(int argc, const char *argv[])
{
	int x,y;
	x = 10;
	y = 20;
	printf("x=%d,y=%d\n",x,y);
	swap(&x,&y);
	printf("x=%d,y=%d\n",x,y);

	return 0;
}
